var channelCharts = (function() {
    var chart = null;
    var timeX = [];
    var subtitle = {
        style:{
            color:"#000",
            fontWeight:"bold"
        }
    };

    //dom节点ID
    //title标题
    //x轴坐标值
    //y轴值
    var showHighChart= function(container,title,categories,series){
        var clickDetected = false;
        Highcharts.chart(container,{
            chart: {
            	 type: 'line'
            },
                
            title: {
                text: title //标题
            },
            credits: {
                enabled: false
            },
            xAxis: {
                categories: categories
            },
            yAxis:{
            },
            plotOptions: {
                column: {
                    stacking: 'normal',                
                    dataLabels: {
                        enabled: false
                    },
                },
                line: {
                    cursor: 'ns-resize'
                }
            },
            series: series
        });
    };

    return {
    	showHighChart: showHighChart
    };
}());